const Mock=require('mockjs')


const data=Mock.mock({
    'list|50':[{
        'id':"@id",
        'title':'@ctitle',
        'img|5':['@image(100x100,@color,@cname)'],
        'desc':'@cword(30)',
        'children':{
            'facade':{
                'title':'外观',
                'id':"@id",
                'img|100-200':[{
                    'id':"@id",
                    'img':'@image(100x100,@color,@cname)'
                }]
            },
            'trim':{
                'title':'内饰',
                'id':"@id",
                'img|100-200':[{
                    'id':"@id",
                    'img':'@image(100x100,@color,@cname)'
                }]
            },
            'space':{
                'title':'空间',
                'id':"@id",
                'img|100-200':[{
                    'id':"@id",
                    'img':'@image(100x100,@color,@cname)'
                }]
            }
        }
    }]
})
module.exports=data.list